package com.dp.singleton;

public class TaskThread extends Thread{

	private String taskName;

	public TaskThread(String taskName) {
		this.taskName = taskName;
	}

	@Override
	public void run() {
		Singleton singleton = Singleton.getInstance();
		singleton.traitement(this.taskName);
	}
	
	
}
